﻿using System;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;

namespace YJKDataLookAfter
{
	public partial class DlgImportUser : System.Windows.Forms.Form
	{
		public string Ip { get; set; }

		public string User { get; set; }

		public string Pwd { get; set; }

		public DlgImportUser()
		{
			this.InitializeComponent();
		}

		private void button2_Click(object sender, EventArgs e)
		{
			if (this.txtIp.Text != "" && (this.txtUser.Text != "" & this.txtPwd.Text != ""))
			{
				this.Ip = this.txtIp.Text;
				this.User = this.txtUser.Text;
				this.Pwd = this.txtPwd.Text;
				base.DialogResult = DialogResult.OK;
				return;
			}
			MessageBox.Show("请正确输入连接配置。", "族库管理");
		}

		private void DlgImportUser_Load(object sender, EventArgs e)
		{
		}
	}
}
